//
//  THHomeTableViewCell.m
//  THImageEditDemo
//
//  Created by 希达 on 2018/5/16.
//  Copyright © 2018年 Tan.huang. All rights reserved.
//

#import "THHomeTableViewCell.h"

@interface THHomeTableViewCell()
@property (weak, nonatomic) UILabel *markLbl;
@property (weak, nonatomic) UILabel *titleLbl;
@property (weak, nonatomic) UILabel *timerLbl;
@end

@implementation THHomeTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self configView];
    }
    return self;
}

- (void)configView {
    UILabel *markLbl = [[UILabel alloc] init];
    
    [self.contentView addSubview:markLbl];
    self.markLbl = markLbl;

    UILabel *titleLbl = [[UILabel alloc] init];
    [self.contentView addSubview:titleLbl];
    self.titleLbl = titleLbl;

    UILabel *timerLbl = [[UILabel alloc] init];
    [self.contentView addSubview:timerLbl];
    self.timerLbl = timerLbl;
}



@end

@implementation THHomeHeaderView

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {

    }
    return self;
}
- (void)configView {
    for (int i = 0; i < 4; i ++) {
        UIButton *btn = [[UIButton alloc] init];
        [btn setTitle:@"" forState:UIControlStateNormal];
    }
}



@end

@implementation THInfoHeaderView

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
    }
    return self;
}

- (void)configView {
    for (int i = 0; i < 4; i ++) {
        UIButton *btn = [[UIButton alloc] init];
        [btn setTitle:@"" forState:UIControlStateNormal];
    }
}



@end













